import { PickType } from '@nestjs/swagger';
import { Point } from '../entities/point.entity';

export class CreatePointDto extends PickType(Point, ['count', 'pointType']) {
  /**
   * 打卡Id
   */
  punchId?: number;
}

export class UpdatePointDto extends PickType(Point, [
  'pointId',
  'count',
  'pointType',
]) {}
